package comframe.jdbc.sql.datasource;
/**
 * 配置文件对象 
 * @author ray
 *
 */
public class Config {
	/**驱动*/
	private String className;
	/**数据库地址*/
	private String url;
	/**用户名*/
	private String userName;
	/**密码*/
	private String password;
	/**数据库类型*/
	private String DataType;
	
	private boolean autoCommit = true;
	
	private boolean showSql = false;
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getDataType() {
		return DataType;
	}
	public void setDataType(String dataType) {
		DataType = dataType;
	}
	public boolean isAutoCommit() {
		return autoCommit;
	}
	public void setAutoCommit(boolean autoCommit) {
		this.autoCommit = autoCommit;
	}
	public boolean isShowSql() {
		return showSql;
	}
	public void setShowSql(boolean showSql) {
		this.showSql = showSql;
	}
	
	

}
